package com.xzz.mybatis.generator.common;

import lombok.Data;

/**
 * 分页返回对象
 */
@Data
public class PagingResponseData {
    /**总条数, 前端有总数就可以实现页面分页展示*/
    private Long count;
    /**返回数据，一般是列表*/
    private Object records;

    public PagingResponseData(){}

    public PagingResponseData(Long count, Object records){
        this.count = count;
        this.records = records;
    }
}
